package com.hwua.dao.Impl;

import com.hwua.dao.IOrderDetailDao;
import com.hwua.entity.Order;
import com.hwua.entity.OrderDetail;
import org.apache.commons.dbutils.handlers.BeanListHandler;

import java.util.List;

/**
 * @author: create by  Raphaelkxy
 * @version: v1.0
 * @description: com.hwua.dao.Impl
 * @date:2019/9/2
 */
public class OrderDetailDaoImpl implements IOrderDetailDao {
    @Override
    public int insert(OrderDetail orderDetail) {
        return 0;
    }

    @Override
    public List<OrderDetail> selectByUid(int uid) {
        return null;
    }

//    @Override
//    public List<OrderDetail> selectByUid(int uid) {
//        String sql="SELECT * from amz_order WHERE uid =?";
//        Object[]args ={uid};
//        return queryRunner.query(sql,new BeanListHandler<Order>(Order.class),args);
//    }
}
